package com.zzs.judge.service;

import com.zzs.common.core.entity.msg.CodeSubmitMessage;
import com.zzs.judge.pojo.other.CompileResult;
import com.zzs.judge.pojo.other.RunResult;

/**
 * @author zzs
 * @date 2025/03/29
 */
public interface ExeJavaCodeService {
    void createJavaCodeFile(CodeSubmitMessage codeSubmitMessage);

    CompileResult compileJavaCode(String containerId, long userId);

    RunResult runJavaCode(String containerId, long userId);

    void removeJavaCodeFile(long userId);
}
